Move create-routine module into routines module.