make the module as an optional arg
renamed get_col_names
added docs of db.py