Code refactoring.

re #3 - I want to deploy to be renamed to deployment

* Added task "deployement"
* Refactor  task "deploy"
* Some code clean up.