Litte changes.
Added process state.
Merge pull request #28 from tuomasvapaavuori/process_state

Process state