Added data directory to gitignore
Allow configurable page size
Fix event on which listener attaches

- s/createLinks/createLink/