Make control interface and use closure compiler