Added database initialization script and switches to execute it