documented pconfig usage
changed the way printer works

extracted method for slicing config for printing
prepared tests for pconfig script