Added Graphic core, moved EGL creation there
Provided main loop running in a different thread
(linux) Basic keyboard support