Design and implementation of the database module in COLDS for data annotation