Added tool builds

Added tool builds to config
Made first tool app to check its working
Changed debug printf to fprintf(stderr,