Update MainRegistry.java

-Removed the tons of extra lines