Modify core.java so it uses Branch.java

All string inputs are in Branch.java now