Nicer Interface

The python file has been changed to allow the user to see only the main
functions. Headings and comments have been added in the file