coreserver: Add code loading

Signed-off-by: Michael Buesch <m@bues.ch>