http module

added more interfaces and some implementation