Reorganizing to simplify the code

- split torrent_file into two: torrent_{owner,file}
- use plain_fsm rather than gen_server
- use gproc for registry and counters