new flask resource