Add goals and measurements from service

And updates them and so on. And tests.
:thumbsup: