add editor
move js/css into separate files