Some work on connecting to postgresql.
Mashed everything on main. Added thumb creation.
Added juicebox viewer.