Baltimore officials on Thursday announced an agreement with the Justice Department to revamp the city's police department in an effort to end years of troubling practices uncovered after the death of Freddie Gray.