adding jsonfield
adding the new template model for applications
tests to go along with the new template model (still incomplete)