Adding initial version of preview feature. This was using the preview plugin from liferay, but it was not completed. It will be changed for a simpler option