Updated code to PSR-4 compliant

signed-off-by: Grégory PLANCHAT<g.planchat@gmail.com>