add STMEntity

#137