Fix remote build
Fix missing file in POTFILES.in
Move settings to global scope
Foundation for unit tests