Creating shared bootstrap assets

Added in a shared bootstrap file to require in necessary files
to create autoloader.
Moved some of the autoloader logic into shared static function
inside of the autoloader class which is loaded by the shared
bootstrap.