added code formatter
index for faster status deletes
set parameters for delete query
apply formatter
run every day at midnight