added more existing code files, plus made small addition to ipython notebook