Visualization cmethod information

Adapt to requirements.
Move the struct and function to separate file.
New File: accesscontroller.h