Refactoring charm code into a shared library
Moved proxy to jujuxaas
A few bug fixes