clean up and refactor OracleProcessor