add clean rake task
move parser into it's own file