PHP library sturcture updated