integrated phar building with kherge/Box

this PR fixes #26