Complete add routine functionality and initial routines page.