Improved application architecture