moved crud operations to their own file

api/crud.rb
moved sqlite database to app/data/sqlite/cloverleaf.db
changed lights.erb to use lights.css