switch to spring annotation config