Made methods in DbManager and QueryManager static.