lots of small changes and cleanups. Update dependencies to remove betas, use environ for database url, __init__ cleanup, it won't be called as a main.