Closes #6. Shift the classes into PHP namespaces.