added init_db fct and schema file and .gitignore