layered architecture for services 3567432