Create Legeregister.java