Extracting controllers from app. WIP.