Changed a few things with object class. Might try to make it an interface