Cleaned up api code and seperated API Key into .apikey file. Please no steal.