Added PKs and FKs to xml

Added class for db data type.
Added Foreign keys class for the model.