Fundamentals of N-Tier Architecture