Move api credentials, fees, SSL out of code