converted tabs to spaces in the python interface
changed majority of code to conform with pep8
fixed error wiht calling IDRelation before initilizing it
begining to add more user control over program operation