Splitted java and scala code. Splitted scala classes
Modified output statistics