Small example of how an 'embedded' application can be modularized