configuring flask and plugins