Add rake tasks and change file structure.