Java based framework for deploying applications and configuration to remote machines