Changed Links, Scanner and Events model to work on the new API