KUpgrades

Added bootstrap.  Moved the db stuff to it's own file.