move code out of test.cpp to controller
drwxr-xr-x - data
drwxr-xr-x - src
-rw-r--r-- 424 test.cpp