Initial commit of code, tested to update SIDHistory