Single queue rpc

This pull request is not ready yet.. But I have some questions which is why I have created it already.