Change method names and the position of comments to follow basic python conventions
Break down looooong methods
Remove object oriented patterns
Change some variable names to make it more clear
Remove extra spaces
Because I don't have any mDNS devices in my home, I can only partly test dnssd scan on raspberry. (The scan can run successfully and get expected results, but the "store_data_to_database" cannot be tested)
Because I don't have any mDNS devices in my home, I can only partly test dnssd scan on raspberry. (The scan can run successfully and get expected results, but the "store_data_to_database" cannot be tested)