Added support for object creation on database