Bootstrap attempt

Adding database flushing after one week, some UI tweaks