Split application into two tiers