improve product edit
debug
Add RESTFul support