Added autoload to composer and fix define GLOBAL PATH