Added ipython mode, changed some file headers