Full modularization and reorganization of data models

* Create methods in data models for all actions taken in webhandlers
* Reorganize connection of models to each other to use collections
instead of static reference lists