Move all API stuff to /api namespace