Uses promises for querying, adds findAll and findQuery.