Made all Models serialisable.
Fixed a bug where POST-data would not be sent in all controllers.
Added array instantiation in controllers.
Added a PHP version to the composer.json file.
Improved logging.