Beginning implementation of API