Add spring java configuration