Initial commit

Initial commit of Spark class and unit tests.