Ground refactoring done

The ground refactoring was done by removing the old argv and config
components and replacing them with JSON configuration files.
Furthermore, the whole SQLite3 related code was removed and the stubs
for LMDB code were implemented.

The DHCP server won't work at the moment due to missing message
handlers.