Implemented templates and moved CSS/JS code to respective directories.