creates js, css and html files. adds basic functionality and methods to singleton