Add config.h
Remove two example programs in root
Eliminate some compiler warnings