added GitHub registration service and controller, slight restructure