Adding IPython configuration and reorganizing Makefile.