OGRE: An Object-based Generalization for Reasoning Environment