Added lots of code from the old app and LastUpdate table
Added initial migations