Change to using QuerySet (Removed Python script)

Extended functionality by looping through all results with the same
rsnumber. Made other code more uniform and neat.