Flask environment setup