Splitting spp into core and java