finished the assign class handler
integrated assign class support into outstation context