merge the heroku part and github part by Koi