Add layered archnitecture.