Restructures to a more sensible file structure for an application using persistant js modules, correspondingly changes the makefile (see tutorial). Adds observers.