Text this: Studies on Q-switching and mode-locking pulse generation in fiber cavity with saturable absorber /