Added lib/helpers.js for helper functions and UI Helpers