input controller functionality in its own file
runId initialized as null