Made flashlight configurable through yaml