[ModernWeb] demo code

reworked a lot in the demos and improved bits of the framework