Adding the Logging Class, minor modifications for npm & README.