started work on http interface