Write to Database

Code to write to database instead of file
Reverted zwkz_all