Added sprinkler file to separate out hardware interaction