Refactored code sandboxing, classes have more specific jobs now.