model handling with json objects as db
controller passing variables to views
multijson for model handling