Added InitDB function

SQLite inserted into functions (it works)