Added thin and scaffolded rake tasks and tests