added objectmanager class
objectmanager is now functional