Working on main event loop, generic configurableframe added