bugfixes and new classes

fixed class definitions, added transciever, switchport, switchmodule
and switch classes.