added:   apps framework for a multicaller binary setup
revised: main.c, Makefile to support apps.[ch]