Replaced chained ifs with a switch statement
Repository work
Began working on DocumentPanel