serve html from main program