removed unnecessary debug prints
added simple server serving detected triangles