refactored pdrstring7 mgmt, fixed rake task to load ret_codes