Database layer improvments

Database connection improvments, query builder preinit