PHP lib with simple classes