Updated rakefile to output to a target dir
file cleanup