ignore the setup.json and rsm.log.

added a sample log file for the log folder existence
added read_config, logger, exception handling, main functions