Controller logic and translator. TODO: controller logic. error handling. translators