Removed xml in favor to java config