Simplified base code

No events anymore. Parsing only attributes and elements. Let developers
figure out the rest