partial work on saving templates

going to need to figure out a good way to work with various properties