initial commit. Refactoring of goxc's deb-related code