Removes debug switch from webmachine resources.
Seperates db creation from db usage