Updating app_skel.c to follow coding guidelines