Create a new Main.cpp for each utility instead of using defines.

This is needed for CMake's dependency tracker to work properly.
Add GNU emulation for 'echo' (incomplete) and 'yes'