Added model loading, config loading, torrent model