Initial commit of old code