gardening
move component bootstrap code to bootstrap module

Also allow getData to accept two arguments (second for callback), so that makes
possible to write component specs with getData(props, callback) Node.js style