Adding Java server and and some sync.