Move code to own directory