Added models to Spark app to keep track of devices and spark cloud credentials