Implemented ruby and java file generation.