N tier architecture with example in brief