Implemented get / set state methods
Save and initialization to from host interface
Save / load of patterns is working