merge the clean and tail rake tasks into a log rake task
move a lot of the booting and setup to application helper