guerilla base classes

+ adds base classes to generated tags as required
+ more old code removed in favour of new framework