completed simulator, added confirmation before deleting a simulation, added template inlining during build, added db init script