Adds java and skeleton of Real class.