added slug to measures and started tests for show action
moved slug generation and wiring into a module