get dependencies sorted out for spring rest services