a php class on top of phpcassa