Refactor Code
- Add Relation enum
- Add Link and Template classes