Fixed bug in reading and now basic object fetching passes
Fixed some memory bugs
Fixed persistent connection bug