added database pagination.
Added manual database filling with METADATA file.
Aesthetic fix.