Move bootstrap rake task to a bash script

Closes #1