Update and rename spark core code (testing) to spark core code