Removed dependency on moment.js
Separated model and display logic