code-based create sqlite database