Added Code File and Directory

added code file to deal with bug caused by lack of code in project.