First shot at working code

This includes a stub of github functionality, but it won't work