Refined existing product code, added EditProduct view