moved script and css into separate files