some changes to make pylint happy. Added methods to some routes