remove dead code, fix tests
eager_load where appropriate
lots of fixes to queries. Fix unique index
version 0.1.1