reload is already a ipython fucntion - lets not overload it
moving some stuff around - imports should be top level imports