changes to various library templates

removed main id replaced with role=main