Implemented flask manager