Create Core.java

This does it all.