Additional tweak.

Signed-off-by: crynobone <crynobone@gmail.com>
Implement PSR-2 code standard.

Signed-off-by: crynobone <crynobone@gmail.com>
Multiple refactors.

Signed-off-by: crynobone <crynobone@gmail.com>
Add additional test case for routing.

Signed-off-by: crynobone <crynobone@gmail.com>