Create boilerplate for the frontend
Got rid of old frontend script
Fixed FlatModel being overwritten on update