added reaction processes and sample/simple/main.cpp