Implemented a timer mecanism.
Added timers to queued items.
Finished implementing timer mecanism in queue.
Upadted main.