added index route, cleaned up some more