Layered architecture