add namespace to workouts urls
use reversed urls in workouts chart and calendar
tweak code style