changed code style to confirm with python style guide (PEP8)
abstract away database connection string into helper class and associated config file
add comment about chmod 600 on dbstr.conf