Refactor rake tasks under common namespace.

See #13