Modularized code in Vagrantfile.
Fixed bug when loading definitions.