added theme function for pathway object
Can view waypoints at /pathway/waypointpid.