editor done

editor is mostly done, time to implement serialization