refactoring github integration for repository, repositories, adding readme front and backend