Added a bunch of stuff to the schema

Also promisified a lot of things that weren’t promisified