added a database project and fixed a bug in the DefaultPhoneFactory where new phones were not getting new IDs issued.