Using replace instead of insert when storing objects.
Renamed the output var into singular, and wrap it in an array before returning, so it's itteratable.
Created a singular version of the store objects method, for readability.
Preventing import trouble by using decent mysql real escape method.