Prepared bootstrap.php for use as vendor library
Bootstrap must return Factory instance