Adding a base error class and a batch execution system inspired by Vagrant's.