Initial commit.
Began adding sqlite support.
Down merge with initial code.