git pip install and small encoder refactoring

APY-142 : Rewrite packiging code

Added setup for git pip install and small encoder refactoring for better
integration with praha pathc.