Added status back to package api handler

Plus couple of regressions fixed in API