Added Line management and used moment.js for formatting date/time