def copy_files(src,dest,module_model)
      module_model.each do |file|
        presence = File.exists?("#{dest}/#{file}")? true : false
        unless presence
          FileUtils.cp("#{src}/#{file}",dest)
          path = if dest.include? "app" then "app/models" else "db/migrate" end
          $stdout.puts "\e[1;32m \tcreate\e[0m\t#{path}/#{file}"
        end
      end
    end
def copy_files(src,dest,module_model)
      module_model.each do |file|
        presence = File.exists?("#{dest}/#{file}")? true : false
        unless presence
          FileUtils.cp("#{src}/#{file}",dest)
          path = if dest.include? "app" then "app/models" else "db/migrate" end
          $stdout.puts "\e[1;32m \tcreate\e[0m\t#{path}/#{file}"
        end
      end
    end
=begin
Function to copy the module files to project location.
=end