fix Makefile

embed version string at make
show version at startup
refactoring Logger

add Commands.Success, Commands.Failure hook