moved GitHub model definition and creation to GitHubModel.js