Use PSR-4.

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

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