added crud to index.rb in controller. no idea if they work. cannot create database.