fixes

add httpservice
add constructor