add spark boilerplate