Removed DB specific parts. Can now run as a free-standing site.