Make use_resources and release_resources into methods.
Merge branch 'master' of github.com:frankli714/mesos-simulation