Added product factory with tests and product model with validator and tests.