Add rake tasks, move to source and public folders