Debug

Added beta functionality for debugging while the updater is running
Removed redundant file
Cleaning and refactoring