Added autoload to composer package along with cleaned up loader