created markup apis for github autocomplete and auto-refreshing.
split project.js into github.js and refresh.js.