Refactor interface startup. Make it the FreeBSD way and remove PHP code.
Add post upgrade script to remove obsolete files in 'full' installations.