moved html stuff to service object