add first version of brain
add IRConverter
add missing functionality for M1
update distance message type
add stopping state
remove print
update thresholds etc
Merge pull request #9 from tobiasandersson/master

add brain