Moved codes to directory