Added an env file with a hook to features. Updated CLI to include Hooks in its generate of xml. Moved the build file method to spec helper from the specs themselves. Added several specs/rules around hooks.