changed servies architechture to be stateless.