fix server, add API scaffold
details
torrents and subtitles scaffold
list torrents correctly