bottle parameter is no longer needed.
code cleanup and pylint disabled errors.