Main masterpage create