Added app code and example messages