[TASK] Add autoload entry to composer file
[TASK] Avoid deprecated function