core: better parsing torrent category
core: structure map for torrent init
core: osx autorelease pool hack