Converting Spark 1.1.1 into an embeddable scriptable server for Android testing