add DBManager && package reorganization