Flask view development