Add link serialization and link merging to model
Add basic link drawing