implemented update/insert
restructured, added insert/update tests
added delete, added test
added findByQuery, added test
removed as many static members as possible, added fromArray test