Update event machine.
Move rake tasks to their own file.