Created a new directory structure and re-organized python functions into separate modules for a cleaner interface.

Committer: Ryan Lynch <rlynch@hep.physics.mcgill.ca>