Pass input/output streams to solver as arguments

Closes #34
Input/output configuration for tasks.

Closes #35