define XML schema for storing HMMs