Changed the flow of the app, now utilising SQLite tables to store the data on the tables. Also split up into seperate classes and methods.