Modified the server and added some basic routing