Move all main code to controllers