Refactored package names
Correctly parses formula groups like (CH3)2CO