Removed logic that should be in the worker.
Updated the json store format to allow for key matching against the values for quicker resyncing.
Changed reysnc method call to udpatePath as this is a more exact name of what the method is doing and not misleading as resync.
The initial worker file with required methods.
Added a call to remove the current env from the environments.json file.
Added the method that removes the env from the environment list.