CreateObject
Creates an object