merge db_manage for dbsupport development
merge bugfixed logic.py, add db support module