Added IR methods

We can now retrieve and use IR Data.
Added example of how autonomous should work (main).