Moving registration editing and csv export to rails.