Moved API stuff to its own repository