Move bootstrap to libs