Netmate on database again, YAF needs to be tested. mind TODO in main.