refactor API Keys to API keys
implement APIWrapper base class