code cleanup
refactoring and added nxlog warm up period
refactoring and improving test
make nxlog less verbose