Flexible, extensible backend for flexible 2.0 web apps