Using Spark Core to create a distant heart, connected to the smartphone and vice versa