Moved logging.js into lib dir