gem template updates
magic routes and re-write routes