Organic Functional Group Analysis: Theory and Development