Set up simple polling system with message output.
Implemented a timer and adding timestamps to messages.