added functionality to LocalQueuePlayer and setup POST endpoints on server and client