Adding the base tsp model.

Need to convert this to applet to use with javascript view