added attributions in readme
separated everything out into appropriate files
added NS docstrings