Add flask config for repository
Use test repository for test.