Refactor - Use pattern to extract the needed information
Fix the mapping regarding the keys to switch workspace
Format workspace code
Deactivate temporarily workspace