added resource frag, small refactor for new language, ready to start in on forms tab (tag this commit so that we can revert to ODK if necessary)