untracking alembicconfig.
pagination wants floor, not ceil, to avoid empty last page.
refactoring the pagination page range function.
moving pagination to a macro and making it look right.
Cleaning up the flask app file structure and removing unneeded files.