Moved JS and CSS into external files, started some register stuff