a database layer insipred by caqti and ecto