Refactored Link's state management
Merge branch 'develop' of https://github.com/elyas-bhy/octolink into develop