Refactored memory- and file-based core classes and included an executable.