Renamed database + moved variables from manager.