Changed handlers to act as an exported function
Changed handlers name and set up server to support handlers as a function