solgs related templates and layout handling..