Repositioned loading function and struct.

LoadFromDB.cpp is no longer needed.