Porting formatdb and blast app controllers