internal use of setState()

Signed-off-by: Christian Lüthold <biocodr@gmail.com>
process component names implemented, see issue 7

Signed-off-by: Christian Lüthold <biocodr@gmail.com>