Fixing bugs and updating package recipe

* Updated package recipe
* Updated template recipe
* Fixed bugs and logging with install, activate, and deactivate