initial changes

tlockimpl is unimplemented so linker will complain for now.