Fix requirements and imports in app