File structure code separation

Separated repeated code in the modules
Change-Id: I71a52e597ecd74798b7fec20a58773699448ebcd
Issue-ID: CCSDK-1275
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
5 files changed