Moved to camelCase
Fixed method of getting object vars
Fixed method of getting last inserted id in postgresql