Beta SQL Switch

This is the beta code for moving the project from serialization to a
database