development; issue #374: Refactor 'make hack' making Vagrantfile and VM more useful

Improvements to make Ubuntu VM more useful and refactoring code to make it more maintainable