Separated Call and Stack classes into different files.
Refactored away the graph generation logic and put it into a separate file.