simple architecture of spring