[core] Remove internal awful CamelCase.

Plus remove commented old pieces of code.
[core] PEP8 80chars limit.