continuation of restructuring files and added an interface and added locale data access class