Restructure Java, R, SQL components and further improve guide compliance. (cf. Metrics-web development doc)