refactoring packages to github