OOP - classes with constructors and basic functions

This should not affect anything yet, only merging to be able to test further changes on the server.