Added bootstrap switch code and files; Started working on upgrade code to switch enable_test_key to enable_live_key