Enhancement: Added GitHub Repository Service

Added GithubService and moved controller methods to service
this method should be ``private``