commit number 2

fetchCatalogs finished, fetchReqs almost comlete. bug currently in
fetchReqs, and both need tweaking when database format is finalized