Adding valid_actions method
Moving stuff out of `if $0 == __FILE__` block
Merge pull request #5 from modcloth-cookbooks/moar-refactoring

Moar refactoring