LS-10 Change xml spring configurationfiles to JAVA spring configuration

Signed-off-by: Deepu James <deepu.james@outlook.com>