breakout logic into its own module
Merge pull request #20 from boneskull/breakout

Breakout logic into its own module