cleanup, refactoring, modular, environment variable for github api token