POST 1 clean up code and added getProduct method.