Updates for automatic versioning and better regexp and optional route support