add C++ class, `XOBS`

- add `Makefile` to build the libraries