added flow chart for program structure. cleaned up files and normalized extension