make master component class
fixed key error in GUI somehow...
changed to use new component class