refactoring the deployment stuff and the readme