Added an ApiKey class