Start implementation of saving functionalities.
Login user.
Refactoring.
Changed error handling.
Applied user account and login.
Refactoring and new saving class.
Refactoring.
Started implementing threading.
Added threading and exit waiting.
Merge branch 'saving_functions'