creating spring enviroment