Compacted ore code

Compacted all ore code into one class instead of 6 different classes.