spark: add application.spark as a template/master
home.spark: extract masterpage into shared/application.spark