Making progress on vagrant/docker integration. Using app domain to get application name. Some refactoring