added App class
class loading is now the first thing done
adde missing feature #25
fixed loading of stylesheets; using the environment.url variable in config