Initial idea for a rake task

Fixes #21

Basic idea for now, any suggestions on default options and the like?