Updated sleepy.c to a class instead of a function with constants.