Added Backend type and module. Math types now have a sequential memory layout.