Pulled up some methods to min and point some classes to minimal classes.
Fix to make it run properly
Change to oracle database
Fix looping issue
Forked from agro-upass r:108