Added plain routing and fixed routing in general.
Added PHP entrypoint script for testing.