Commented out COMP1 (AC OCP) usage.
Moved flash functions to new own module