Added intelligence
Created function for extracting sequence data
almost done