merge `Container` functionality into this single object2d