TSPatterns for application architecture