Refactored Database.cpp for use with P5.
Merge remote-tracking branch 'Project5/master'
Added parameter to genPONums