[WIP] Removed deprecated things

This PR also add some comment docblocks.

Guys using PHPStorm or another IDE, please do not hesitate to feedback :) .
this is wrong