clean up old webapp code
refactor web framework, add node base class and use mixins for common tasks