Improved loading of objects and fixed sql execute statement
Fixed issues with properties being saved as null