Implemented architectural layers properly.