Make DB connections persistent
Add first stab at autocomplete support \o/