refactoring and adding nvd3 files