changes to understand and update to more current flask standards(esp. extension registration