PHP LIbrary - base classes for smartacus