Initial version refs#28

Missing return codes based on right status