IFelse object means program usable in a library

The main() function now just calls functions from this object instead of
creating its own objects and calling their methods.