Adds the mod loader so far, it still needs to be finished.

Signed-off-by: Simon Barnes <simonbarnes1@googlemail.com>