Moved controller into foundation.init.state where it makes sense