ObjectClass

added object class and a test