the long awaited refactor
unit index is now loaded along with the page. Fixes #5