Refactored Instagram api stuff and added .env for environment variables.