comment out create extension which requires superuser privileges
factor out memoize
init script
add tests