Moved routes out to separate file, removed Express router, added extra comments and console.logs.