renaming ObjectHandler class to Container and changing its api