Cleaning things up

- Added an inclusive range to util

- Added a function to set up the DB connection

- Misc. refactorings like converting parens to square brackets in namespace definitions, also switched to using :require + :refer instead of :use + :only