Update catch errors when create an object, prepare to new module, update structure, added comments.