Common library refactored into parser, prototyped load_modules