Initial commit. Only tested in debugmode, this may not fully function (yet.)