Moved task to its own file in lib/tasks