Front logic. Dispatches and manages the input flow thread. Contains many of all the $hooks present in the framework.