changed majority of the code to use tasklets and queues
deleted unnecessary comments and changed some
simplified and updated readme file