added APPLICATION_PATH
splitted CONFIG_PATH in LOCAL_... and GLOBAL_... and reorganized include path
added database library and configs
database: auto close connection
moved argument access to the abstract controller
updated ERM diagramm
added license
added API documentation
added api skeleton