fixed undefined labelclass
combined loader
several intermediate changes