added alternative contructor and demo methods
added raw bit of statistic behavior with morris.js