Rename getValue to resolveReferences and hide it. Also pass parameters through it correctly.
Remove unused variable.
Don't extend Application classes from Factory.
Set environment variable first to handle it correctly.
Remove left-in code of the old view component.
Add method to access the Factory object directly.
Fix some coding style issues.
Sort route parameters to avoid problems with parameters that are prefixes of an other.
Use http_build_query to append extra route parameters.
Fix code to pass test.
Some cleanup.