Rough support for inline segments

resolves #4 

Add inline segment by entering the different values in kwargs.