Initial commit of an API and queue handler