Added the EnumToClass helper template
Multiple changes

- Added default constructor to enums::EnumToClass.
- Changed the implementation of client::CurrentObjects.