Switch to case-based logic & import all functions

Setting the different cases with commenting and un-commenting was
cumbersome, switching to a little case el/if at the beginning of the
files.
Import all functions from functions.py and use them with prefix.
Give out all english text.