added start of API, currently supports get requests for users, todo: streamline usage, interact with database models through controllers instead of db class, add the rest of the methods, abstract to its own file and figure out imports; maybe use requirejs?