Initial webapp port.
Added base exception classes.
Base view, layout and controller implementation and dispatch in webapp.
Added code comments.
Cleanup of webapp module.