move code into source directory