added species filtering to get_valid_aids, cleaned up function names and signatures in interactive matcher. split into more submodules