Added process and progress callbacks [issue 5]