LibreText refactoring and better handling of articles