Clean up and Github API

...way from app.js so reading this thing is easier