Rewritten Auto workbenches

This fixes a couple of bugs people were having. Like a duplication bug. The code in my opinion is a lot cleaner easier to understand and to expand.