jBittorrent and refactor