Reworked appContext to manage also the core, added timers