Convert to filesystem based database.

- Use local file as database to limit dependencies.
- Convert and limit data.
- Refactor templates to match new data fields.