Big changes. Add apache2 and snmp modules for tests. And refactoring.
Fix after the big changes.