Major refactors and updates to the embedded code

Getting and parsing the schedule works inconsistently.