renamed files for lottery db
continued restructuring for distributed operations