Update memo
Minor refactoring and add comments
Add placeholder test files and refactor header importing