Basic server code
Server starts and listens for callbacks
Index and router added