Added java config files

Added java config files and removed the xml config files