1) converted cout statements in JNStorage to use Logger
2) fixed bug regarding creation of directory