Some small fixes, and committed the sqlite database