Moved github to a class