Cleaned up Code

Implemented inheritance in templates. Changed “create_”() functions to
just “create”() functions