reworded the doc of class Database
save default conn func to another _getconn
added doc