Queue worker and task updated

change for reading from the db and to have multiple queue