Removing the switch statement for work type

- Now the server handles the error if the worker file for the given type is not present