fixing associations and views
added morris.js functionality