move code into directory