Towards more process-related-flexibility
Added basic restart feature
Splitting code into several smaller files
Cleaning up
Build before running tests
Merge branch 'devel'