Separated request handlers into own module to see order in which functions are called