finished binding
added html interface