Split things into logical blocks as per best practices

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
Rename module to apt_cacher_ng

dashes in module names are deprecated and should now be avoided.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>