updated the code to work with Apigility v1.0.0 and gitignored .vagrant/ files