renamed some files and arranged codes in proper standards