pep8 etc.
add config
simplifie sql queries & fix typos
.
Merge pull request #6 from oczkers/f

simplifie sql queries & fix typos