Organize rake tasks

Definitions up top, dependency bindings down below.