Started adding material types and basic code