Added alignmodel, split datatype into datatypes.h