move code to root directory