major refactor, moved css and javascript to pages
major refactor