reimplements server with pat, removes testflight for testing @wjdix