Added new file for non interactive mode. Started adding functions for non-interactive mode.