Commiting logger addition
Also adding logger.js file