Creating inhieritance hierarchy/based off template for format types