a basic spring framwork