refactored; fixed github api; v0.5.0