Added executable permissions for everything, and added template model and JSON util classes