set up of the home page and basic spring context