Fixing some php mappings.
Putting init files in the correct order.
Small snippet changes.