Minor refactoring, updated documentation, and reorganization of files within core module. Added function to read table data from files.