Replaced huge elif statement with dictionary and functions
Fixed code style, passes flake8
remove a line that never gets executed

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1 from Kwpolska/removeElif

Remove a line that never gets executed
Changed path setting to path = {...}[kind]()
Merge pull request #814 from DBeath/removeElif

Replaced huge elif statement with dictionary and functions