php module re-organized