Base framework for web apps