created a service for the links object. That way we can store it as an model and work with a MVC pattern