Move preview template into shared lib adding path method to preview module to get shared lib path