refactor shape settings
Major Settings refactoring
settings serialisation fix