Rolled back absolute imports in api.py