added new file for Spark routing mechanism