WIP

- Moving the writer to subroutines
- Clean the code around the creation of file and paths
Fixed bug + added footer

Creating the index files we were using %s instead %d for the filename.
go(subroutines) ALL the things!

- Moving the writer to subroutines
- Clean the code around the creation of file and paths
- CREATE & INSERT are run inside a transaction now
- all the "own type errors" got removed -> recommended by a proper
  Gopher
- polo executable was also added to the ignore files.

WIP: it looks like the subroutines try to read the "files" table in the
sqlite/memory before it's created. I've added transaction to avoid that,
but it didn't help.