First pass on ipython stuff.

Ping @bninja.