Updated GUI. Removed unwanted print messages.
Modularized source code.