Create spawn.java