Switch to table driven tests
Add --history option

re-name some options names
Move all build commands to Makefile
Fix issue with missing synonyms