Medium class added, route functions