added intial version of restpack-resource