start of API implementation according to workshop outcome.
Add header guards
renamed:    libpxar.h -> api.h