Purge rewriting + add db
Refactor db, add INDEXES
Basic storage, not working right now
Merge branch 'refactor-backend' of https://github.com/Phyks/Freeder into refactor-backend