added generic model class for both API & front-end (not yet complete)
changed main view to be split into span2 & span10