Revert "Most current non-threaded python script"

This reverts commit b4c6bfadc2f40972aa080a2b96ead26bf35e502f.
Added Threading for Database and Serial

Added Threading Mechanism for Database and Serial .