Spark: Basic twitter api class implementation