added two text file, region and area
added class and refactoring