added web based interface and ttt api