Update API documentation and updating server to use environment variables instead of hardcoded API key