AUTO_TEST, Travis, a testmap and a modular refactor.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>