This closes Issue #2
Added simple looper and message handling. Hardware part is not included.