added logic for config loading
added get agol credits count