Move code from Rake task into its own file to make testing easier. Rake task only runs the commands
Rake task for import is almost done. Needs a bit more testing. and welcome email should be implemented