cant getBean when field is not initialized and remove some redundant files