Added a little bit of the sqlite implementation. Wrote java docs for most of the database stuff.