refactored user resource test cases
added product resource and test cases
refactored models to support jackson serialization