change inject method from type 2 to type3
split bean config file into two files