added RTOS and 2 Tasks