master: Added documentation, getter methods, and created local object 'csv' and 'json' objects instead of relying upon global ones.