Added impl to deployer and wrote test case of all use cases for deployer