add new files with workable nam fixed bugs. Waiting for relay implementation