ui and service splitted