Remove Martini and implement http by hand