Web application architecture

Work in progress