Version beta: Code completely revamped and created an Extract class to i...

...nstanciate the extract call.

DO NOT REVIEW - Will do that the day after tomorrow.