Added composer autoloader and added autoloader to textpattern indexes