Generic port of patricktalmadge/bootstrapper for any framework