Data structures and logic was changing very fast. Don't have the time to break downt the individual sections ATM. Sorry future reader (me).