Wrote more of add_to_queue_function and

Also moved self.backend instantiation to __init__ (from main)