cleaned up code a bit, made new file for sqlite managing, created form.html.erb file