Adding mysql persistance of objects.