correct way to use composer autoloader

[+] correct way to use composer autoloader
[!] fix paths to tests and fix gitignore