Added comments to the initialization function for DB class