config: used autowire for applications