Refactor java source & rename somme classes
fix cache init failure + move log location