more renderer work

also starting a class to save and load data