Moving apt-stuff out of core to apt-module

Signed-off-by: Robert Einsle <robert.einsle@mawoh.de>