Fixed re-creating triggers
Added CLI tool for automatic DB init