Removed unused css
CSS tidying
Moved most of the logic to the default.html