Added basic extraction & exporting functionality