Added Relation management

Many to many relation can now be set using option in application menu.
Functions  Many to Many automatically generated based on user setup.