added web interface part

this is vaundhra's original copy