Major rewrite

Now downloads pydev from sourceforge and patches code itself.