typo
Move command line arguments handling from main to Cli
Fix incorrect types used in printf()
Entry: get rid of exit() invocations
main: use result from last block in file as result
Scavenger: add freeScavenger()