moved to xml based configuration for spring