added Preset class and db writing/reading of saved presets