Implemented front end preview product, changed some preview API