Refactorization/engines

Refactorize logic for workshop engine.

Already reviewed by @vicmaster and @zalapeach
Prefer single-quoted strings when you don't need string interpolation or special symbols.