Start of file seperation for ui handling and css

CSS is now seperated for the main UI as well as UI handling javascript.
HTML cleaned up, added title.