DBManager

DBManager with blocking queues and thread