added samples for spark and freemarkerk