Replace old api.js with index.js, rename default config
Add tag and year filters to data function