javaconfig added. Still need to fix some issues