removing final ?> in config example
namespaced database, replacing deprecated methods
removing of final ?>