added db service and moved it to a services folder
git ignore and rakefile updates