flask: Moved important folders to config
flask: Use url_for() for QR code URL generation