Cleanup the spec file and misc checkers

pyflakes fixes
fix pychecker
Revert "remove unused files" This reverts commit 203fc50fc6818ea50ff9e221d077c5db70350836.
move the source to the correct directory
remove unused install lines
add logger config