migration to rest webservice, introduction of predictons