implement sequelizejs wrapper