Fix and document the bs_pagination element
Add size property to bs_pagination
interim refactor of background module
Refactor table generation