add semantria base class and example

I'm SO HAPPY!