added junit dependency
add new process state enum
some changes to the model; add test class
see commits