initial commit. Everything currently compiles
slight change for XPtr problem
pull to sync with remote