added a simple routing system