Some file extentions has been added.
code refactoring