refactored css styles
refactored javascript and css into seperate files