place extracted module files and package db in temp folder