Turned it into a lib again instead of exe , with the improved unit tests