Restored old processor behavior
fixed imports
fixed optimizer
adapted tests to updated nets
renamed optimizer