Created POCO classes for DTO objects.
Fixing various controller parts so they work.