divided code into separate files
removed html