Merge pull request #13 from maksimov/develop

Updating to snapshot deps + machine capabilties
Merge pull request #14 from maksimov/develop

Changed cost factor to be flat except when VM is terminated. Fixed a bug...