Added a template for set-up the route action buttons, and wired them up. MySQL schema update to support older versions of MySQL.