Added startup sequence checking and rudimentary log file reading code. Plenty of TODOs added, still mostly around error handling