Added SObjectType enum to make things a bit more type safe

- Resovled TODO in the createSObject method, now resolves SObjectType
name via SObject_x base class member (initialised in the constructor)