Declare interface Transport and class Train