Made substantial changes to make pydoc work and added new makefile rules