Beginning of a cross-platform code (linux app as well as chumby image)