Database Major Changes

The code generation for the projects and other stuff is now deferred to
the DBMS system with an auto-increment option.

Some Key Integrity restrictions have been added and also a new field in
the messages for the conversation ID.