I think you are right..i must now use IPython's API..that will be more robust...but then also..we will have to  code these result's things too...that will only provide us the format..
What do you suggest..should i scrap this PR and start fresh the IPython's api??