BouncyCastle crypto lib is now used via NuGet
[minor] Improved singleon
refactoring. removed sql
added logging via log4net