Adding PHP class