Turned everything into classes.
Better GUI and CLI interface separation.