Adding endpoints, logger and ignoring some files