Read and Write with new database working. Need to fix space method