Move deploy code into the Akasha module
Re-implement deployment code in Akasha module
Implement deployment and rebuilding functions