multi tier architecture approach