initial commit of the core code

excuse me if there are still a few references to GoT/JoSchaap left.
i think i got them all but i'm not sure :)