more fragmenting of the codebase

Signed-off-by: Alexander Skjolden <alex@plastboks.net>