HR system with n-tier design pattern