Add gitignore
Record file implementation