Added asynchronous mongoose queuries, refactored some backend code for getting queue and swipe list