added command line options to parse_facility_status.pl
added db interactions to parse_facility_status.pl