File Structure and some cleanups

Divided the php file into 3 different ones, css, Js, html