mostly namespace refactoring
added file based reference data provider
added global error handling