Implemented object creation and inheritance