Beginning of backend implementation

Adding classes that will be used for the actual gameplay.