Major refactoring of most of basic processing machine classes.

Implemented functionality of toaster.