Finished backbone of sleep deprivation app