added core data model and switched to using some template persistent variables for levels, units, and questions