Added basic code mod loading api. Seems to work