initial version, with some java config completed