Made the UI into a class and now embing the services