Register classes

Register these classes in the dependency injection container configuration:
This should be in the services.yml, right?
Merge pull request #569 from DoneBySimon/patch-3

Register classes