added the basic handlers and made sure that the code runs