sgController