made classes more generic

extended tranportation class for three transport types and adapted
existing classes to fit the new model