Move .php files to the lib directory