Merged jpl2db with build_master_tables. Still need refactoring. For ticket #136.