Modularity

Pared down __init__ method of GUI and stored separate processes in
different helper functions.