Inheritance is now implemented. Program is a lot cleaner.