Creating global class templates for application architecture