updates to CartSystem, DBManager and CreateDatabase