Added hash salt/encription key generator and migration base class