Splits main in patient app and renames related templates and variables.
Enhances patient integration.
Adds partnet app.
Updates links