added nuget
better application exit handling