initialize "findopponent" array in ::fics namespace

- the array "findopponent" is not used as a global variable; the
  intention of 8e9c96c3 was to make it a ::fics variable and not a
  global one

Signed-off-by: Cristian Stoica <crististm@gmail.com>
refactoring: reduce global namespace polution

- move some initialization code inside functions to reduce the total
  number of temporary global variables

Signed-off-by: Cristian Stoica <crististm@gmail.com>