created new NPM module (file-class) that addresses issue #16 and cleaned up the lib and tests to reflect that new dependency