adding database library, bare bones but has a schema