Add console application and spring injection