Move rake task namespaces into individual files

To make it easier to work with the rake files. You can see from the additions/deletions that content is preserved.